package com.daxue.orm.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class DataSourceProperties {

    @Value("database.url")
    private String url;

    @Value("database.user")
    private String username;

    @Value("database.password")
    private String password;

    @Value("database.driverClass")
    private String driverClassName;

}
